<template>
  <el-card class="box-card">
    <template #header>
      <div class="card-header">
        <span>生涯</span>
        <el-button class="button" text>操作</el-button>
      </div>
    </template>
    <el-scrollbar style="height: 590px">
      <div v-for="o in 20" :key="o" class="text item">
        {{ "List item List item List item List item List item------------ " + o }}
      </div>
    </el-scrollbar>
  </el-card>
</template>

<style>
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text {
  font-size: 14px;
}

.item {
  margin-bottom: 18px;
}

.box-card {
  width: 100%;
}
</style>
